PROJECT( Tester )
SET( PROGNAME Tester )

include_directories ("${PROJECT_SOURCE_DIR}/../apoget")
include_directories ("${PROJECT_SOURCE_DIR}/../TesterSandBox")
include_directories ("${PROJECT_SOURCE_DIR}/../Middleware/gtest/include")
include_directories ("${PROJECT_SOURCE_DIR}/../Middleware/gtest")
include_directories ("${PROJECT_SOURCE_DIR}/../Middleware/DirectX9/Include")

SET( GTEST_SOURCE "${PROJECT_SOURCE_DIR}/../Middleware/gtest/src/gtest-all.cc" )

#Headers
#------- 
SET (Tester_headers 
  housekeeping.h 
  MyGame.h 
  targetver.h
 Tester.h
  "${PROJECT_SOURCE_DIR}/../TesterSandBox/SpaceWar.h"
)

#Sources
#------- 
SET (Tester_sources 
  assertTester.cpp
  ClockTest.cpp
  configTester.cpp
  logTester.cpp
  main.cpp
  MyGame.cpp
  PathApiTester.cpp
  storageTester.cpp
  StringTester.cpp
  "${PROJECT_SOURCE_DIR}/../TesterSandBox/SpaceWar.cpp"
  "${GTEST_SOURCE}"
)

link_directories ("${PROJECT_SOURCE_DIR}\\..\\Middleware\\DirectX9\\Lib\\x86")

#Create Exec
#--------------

ADD_EXECUTABLE( ${PROGNAME} ${Tester_headers} ${Tester_sources})

#Linker
#------
TARGET_LINK_LIBRARIES (${PROJECT_NAME} 
 apoget
)
